﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CodeCamp.BL.MemberProfile>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<h2>
		Index</h2>
	<fieldset>
		<legend>Fields</legend>
		<div class="display-label">
			FirstName</div>
		<div class="display-field">
			<%= Html.Encode(Model.FirstName) %></div>
		<div class="display-label">
			LastName</div>
		<div class="display-field">
			<%= Html.Encode(Model.LastName) %></div>
		<div class="display-label">
			Bio</div>
		<div class="display-field">
			<%= Html.Encode(Model.Bio) %></div>
		<div class="display-label">
			AllowAnonymizedContact</div>
		<div class="display-field">
			<%= Html.Encode(Model.AllowAnonymizedContact) %></div>
		<div class="display-label">
			AllowPublicProfile</div>
		<div class="display-field">
			<%= Html.Encode(Model.AllowPublicProfile) %></div>
		<div class="display-label">
			EmailOptIn</div>
		<div class="display-field">
			<%= Html.Encode(Model.EmailOptIn) %></div>
		<div class="member-photo">
			<%= Model.Attachment.ShowImage("File", "Image")%>
		</div>
	</fieldset>
	<p>
		[<%= Html.ActionLink("Edit", "Edit") %>]
		[<%= Html.ActionLink("Change Password","ChangePassword","Account") %>]
	</p>
</asp:Content>
